//
//  ICMProxyBasicInfoModel.h
//  ICrEAM
//
//  Created by kuroro on 16/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ICMProxyBasicInfoView.h"
#import "ICMProxyOrderInfoView.h"
#import "ICMProxyMaintenanceAndPartsView.h"

@class ICMProxyBasicInfoView,ICMProxyOrderInfoView,ICMProxyMaintenanceAndPartsView;

@interface ICMProxyBasicInfoModel : NSObject<YYModel>

@property (nonatomic, strong) NSString *RO_NO;//委托书

@property (nonatomic, strong) NSString *RO_STATUS;//委托书状态

@property (nonatomic, strong) NSString *RO_STATUS_DESC;//委托书状态名称
@property (nonatomic, strong) NSString *CAN_EDIT_WORKSHOP;//是否可以修改车间标识
@property (nonatomic, strong) NSString *IS_WORKSHOP;//车间标识

@property (nonatomic, strong) NSString *VIN;//vin码

@property (nonatomic, strong) NSString *LICENSE;//车牌号

@property (nonatomic, strong) NSString *MODEL_CODE;//车型

@property (nonatomic, strong) NSString *MODEL_NAME;//车型名称

@property (nonatomic, strong) NSString *SERIES_CODE; // 车系

@property (nonatomic, strong) NSString *SERIES_NAME; // 车系名字

@property (nonatomic, strong) NSString *SALES_DATE;//购车发票日期

@property (nonatomic, strong) NSString *IN_MILEAGE;//当前行驶里程
@property (nonatomic, strong) NSString *LAST_MILEAGE;//上次行驶里程

@property (nonatomic, copy) NSString *OWNER_NO;//车主编号

@property (nonatomic, strong) NSString *OWNER_NAME;//车主姓名B


@property (nonatomic, strong) NSString *OWNER_MOBILE;//车主手机

@property (nonatomic, strong) NSString *MOBILE;//车主手机（新）

@property (nonatomic, strong) NSString *OWNER_PROPERTY;//车主性质

@property (nonatomic, strong) NSString *DELIVERER;//送修人姓名B

@property (nonatomic, strong) NSString *DELIVERER_MOBILE;//送修人手机B

@property (nonatomic, strong) NSString *TRACE_TAG;//三包车辆标识

@property (nonatomic, strong) NSString *TRACE_TAG_DESC;//三包车辆标识名称

@property (nonatomic, strong) NSString *LAST_MAINTAIN_DATE;//上次进站日期
@property (nonatomic, strong) NSString *LAST_MAINTAIN_MILEAGE;

@property (nonatomic, strong) NSString *FBU_TAG;//进口车标识

@property (nonatomic, strong) NSString *IS_FBU;//进口车标识（新）

@property (nonatomic, strong) NSString *FBU_TAG_DESC; //进口车标识名称

@property (nonatomic, strong) NSString *USE_KIND;//使用性质

@property (nonatomic, strong) NSString *USE_KIND_DESC;//使用性质名称

@property (nonatomic, strong) NSString *HQ_VW_CARD_ID;//大众一家

@property (nonatomic, strong) NSString *MEMBER_NO;//经销商会员

@property (nonatomic, strong) NSString *DX_MEMBER_NO;//车友会会员

@property (nonatomic, strong) NSString *REPAIR_TYPE_CODE;//维修类型B

@property (nonatomic, strong) NSString *RO_REPAIR_TYPE_NAME;//维修类型名称

@property (nonatomic, strong) NSString *CUSTOMER_DESC;//用户故障描述

@property (nonatomic, strong) NSString *RECEPTION_NO;//接车单号

@property (nonatomic, strong) NSString *RECEPTION_DATE;//接车时间

@property (nonatomic, strong) NSString *RO_CREATE_DATE;//开单时间

@property (nonatomic, strong) NSString *END_TIME_SUPPOSED;//预计交车时间

@property (nonatomic, strong) NSString *SERVICE_ADVISOR;//服务顾问

@property (nonatomic, strong) NSString *SERVICE_ADVISOR_NAME;//服务顾问名称

@property (nonatomic, strong) NSString *OLD_PART_PROCESS;//旧件处理B

@property (nonatomic, strong) NSString *OLD_PART_PROCESS_DESC;//旧件处理名字

@property (nonatomic, strong) NSString *VOUCHER_TYPE;//凭证类型

@property (nonatomic, strong) NSString *VOUCHER_TYPE_DESC;//凭证类型名称

@property (nonatomic, strong) NSString *CHECK_CODE;//校验码

@property (nonatomic, strong) NSString *IS_EWS_SUCCESS;//车间标识

@property (nonatomic, strong) NSString *IS_EWS_SUCCESS_DESC;//车间标识名称

@property (nonatomic, strong) NSString *HONEST_BUSINESS;//诚信经营

@property (nonatomic, strong) NSString *HONEST_BUSINESS_DESC;//诚信经营名称

@property (nonatomic, strong) NSString *PRE_JUDGE;//检查前预判

@property (nonatomic, strong) NSString *RO_TROUBLE_DESC;//故障检查报告

@property (nonatomic, strong) NSString *REMARK;//备注

@property (nonatomic, copy) NSString *BOOKING_ORDER_NO;//预约单号

@property (nonatomic, copy) NSString *BOOKING_COME_TIME;//预约单开单时间

@property (nonatomic, copy) NSString *LABOUR_PRICE;//工时单价

@property (nonatomic, copy) NSString *LABOUR_AMOUNT;//折前工时费

@property (nonatomic, copy) NSString *REPAIR_PART_AMOUNT;//折前材料费

@property (nonatomic, copy) NSString *REPAIR_AMOUNT;//折前总金额

@property (nonatomic, copy) NSString *LABOUR_RATE; //工时折扣率

@property (nonatomic, copy) NSString *PART_RATE;//零件折扣率

@property (nonatomic, copy) NSString *REAL_TOTAL_AMOUNT;//折后总金额

@property (nonatomic, copy) NSString *BAR_CODE;//实物卡号

@property (nonatomic, copy) NSString *TTL_CONSUME_CREDIT;//会员积分

@property (nonatomic, copy) NSString *EMPLOYEE_NAME; //接待服务顾问

@property (nonatomic, strong) NSString *MP3_FILE;//录音上传地址

@property (nonatomic, strong) NSString *CHECK_RESULT;//故障检查报告
@property (nonatomic, strong) NSString *NEXT_MAINTAIN_DATE;// 下次保养日期
@property (nonatomic, strong) NSString *NEXT_MAINTAIN_MILEAGE;// 下次保养里程


//委托书预览用
@property (nonatomic, copy) NSString *REPAIR_TOTAL_AMOUNT; //折前总金额
@property (nonatomic, copy) NSString *REPAIR_DISCOUNT_AMOUNT;//折后总金额
@property (nonatomic, copy) NSString *LABOUR_DISCOUNT_AMOUNT;//工时折让金额
@property (nonatomic, copy) NSString *PART_DISCOUNT_AMOUNT;//配件折让金额
@property (nonatomic, copy) NSString *DISCOUNT;//折扣率

@property (nonatomic, copy) NSString *LABOUR_TOTAL_AMOUNT; //工时
@property (nonatomic, copy) NSString *PART_TOTAL_AMOUNT; //配件







//根据view的值新建model
- (void)setupBasicInfoModelWithBasicInfoView:(ICMProxyBasicInfoView *)basicInfoView WithProxyOrderInfoView:(ICMProxyOrderInfoView *)orderView WithICMProxyMaintenanceAndPartsView:(ICMProxyMaintenanceAndPartsView *)mpView;

@end
